package Excise3;

public class zuoye3 {
	public static void main(String[] args) {
		int sum=0;
		for(int i=101;i<1000;i++)
		{
			if(i%5==0&&i%6==0)
			{
				System.out.printf(i+" ");
				sum=sum+1;
				if(sum%10==0)
				{
					System.out.printf("\n");
				}
			}
		}
	}

}
